cmake_minimum_required(VERSION 3.19)
project(listItem)

#如果您只是直接执行add_executable()命令，则会将/SUBSYSTEM:CONSOLE /ENTRY:"mainCRTStartup"传递给链接器。
add_executable(listItem WIN32 ${SOURCE_FILES}
        src/MyDialog.h src/MyDialog.cpp src/MyApp.cpp src/MyApp.h)

target_link_libraries( listItem
        repLib.lib
        )
